package com.iking.toolkit.util.ocr;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 功能描述:ocr识别区域参数
 *
 * @author: yfl
 * @date: 2024/8/8 20:11
 */
@Data
@Schema( description = "ocr识别区域参数")
public class OcrAreaModel {

    @Schema(description = "x坐标")
    private Integer x;

    @Schema(description = "y坐标")
    private Integer y;

    @Schema(description = "宽度")
    private Integer width;

    @Schema(description = "高度")
    private Integer height;
    public OcrAreaModel() {
    }
    public OcrAreaModel(Integer x, Integer y, Integer width, Integer height) {
        this.x = x;
        this.y = y;
        this.width = width;
        this.height = height;
    }
}
